<template>
  <RouterView />
  <Tabbar v-model="active">
    <TabbarItem to="/index" icon="wap-home-o">Home</TabbarItem>
    <TabbarItem to="/payment/index" icon="envelop-o">代付</TabbarItem>
    <TabbarItem to="/group/index" icon="location-o">全民代理</TabbarItem>
    <TabbarItem to="/user/index" icon="user-o">我的</TabbarItem>
  </Tabbar>
</template>

<script setup lang="ts">
import { Tabbar, TabbarItem } from 'vant'
import { ref } from 'vue'

const active = ref(0)
</script>
